import request from '@/utils/request'
export function queryListGet(data) {
  return request({
    url: '/dispatcheslist',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}

export function queryConsultationListGet(data) {
  return request({
    url: '/getOnConsultationsListWeb',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
/*
 **胸痛总数量
*/
export function dispatcheACSSummaryCounts(data) {
  return request({
    url: '/dispatcheACSSummaryCounts',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}
/*
 **胸痛今日数量
*/
export function dispatcheACSSummaryCountsToday(data) {
  return request({
    url: '/dispatcheACSSummaryCountsToday',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}

/*
 **卒中总数量
*/
export function dispatcheCISSummaryCounts(data) {
  return request({
    url: '/dispatcheCISSummaryCounts',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}
/*
 **卒中今日数量
*/
export function dispatcheCISSummaryCountsToday(data) {
  return request({
    url: '/dispatcheCISSummaryCountsToday',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}

/*
 **创伤总数量
*/
export function dispatcheTraumaSummaryCounts(data) {
  return request({
    url: '/dispatcheTraumaSummaryCounts',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}

/*
 **创伤今日数量
*/
export function dispatcheTraumaSummaryCountsToday(data) {
  return request({
    url: '/dispatcheTraumaSummaryCountsToday',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}
/*
 **关注/取消关注
*/
export function updateAttention(data) {
  return request({
    url: '/updateAttention',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_LOGIN
  })
}
/*
 **删除
*/
export function deletePatient(data) {
  return request({
    url: '/deletePatient',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
